package com.gtw.modules.sys.service.impl;

import com.gtw.modules.dao.TbProxyuserPayDao;
import com.gtw.modules.entity.TbProxyuserPay;
import com.gtw.modules.sys.service.TbProxyuserPayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/** 代理用户打款凭证
 * Created by wuye on 2018/3/20.
 */
@Service
public class TbProxyuserPayServiceImpl implements TbProxyuserPayService {

    @Autowired
    private TbProxyuserPayDao tbProxyuserPayDao;

    @Override
    public TbProxyuserPay queryObject(Integer id) {
        return tbProxyuserPayDao.queryObject(id);
    }

    @Override
    public List<TbProxyuserPay> queryList(Map<String, Object> map) {
        return tbProxyuserPayDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return tbProxyuserPayDao.queryTotal(map);
    }

    @Override
    public void save(TbProxyuserPay proxyuserPay) {
        tbProxyuserPayDao.insert(proxyuserPay);
    }

    @Override
    public void update(TbProxyuserPay proxyuserPay) {
        tbProxyuserPayDao.update(proxyuserPay);
    }

    @Override
    public void delete(Integer id) {
        tbProxyuserPayDao.delete(id);
    }

    @Override
    public void deleteBatch(Integer[] ids) {
        tbProxyuserPayDao.deleteBatch(ids);
    }
}
